/**
 * 创建于：2016-5-18
 * 创建人：杨骐彰
 * 说明： 面板组件样式
 */
@import "../../styles/variables";

.sem-panel {
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  background-color: #fff;
  position: relative;
  //color: #000;

  //头部
  .sem-panel-header {
    padding: 10px;
    text-align: left;
    font-size: 16px;
    border-bottom: solid 1px $border-color;
    font-weight: 600;
    background-color: #FFE4AA ;
    //文字居左
    &.right-title {
      text-align: right;
    }

    //文字居中
    &.center-title {
      text-align: center;
    }
  }

  .sem-panel-body {

    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    overflow: hidden;
    height: -webkit-calc(100% - 42px);
    height: -moz-calc(100% - 42px);
    height: calc(100% - 42px);
  }

    &.has-padding {
      padding: 10px;
    }

    .table-need-head{
      height: 33px;
      overflow: hidden;
      position: relative;
      padding-right: 17px;
      z-index: 2;
      width: 100%;
      box-sizing: border-box;

    }
    .table-need-body{
      margin-top: -33px;
      position: relative;
      overflow: scroll;
      z-index: 1;
    }
  }


